module.exports = function (sequelize) {
    //是否模型
    var model = sequelize.define("trueFalse", {
        "code": {type: sequelize.DataTypes.CHAR(1), primaryKey: true},
        "name": {
            type: sequelize.DataTypes.STRING(50),
            allowNull: false
        }
    }, {
        "tableName": "dict_trueFalse"
    });

    model.initData = new Array();
    model.initData.push({code: "0", name: "否"});
    model.initData.push({code: "1", name: "是"});
};